@model GoG.Web.Models.ExternalLoginConfirmationViewModel
@{
    ViewBag.Title = "Register";
}

<hgroup>
    <h2>@ViewBag.Title.</h2>
    <h3>Associate your @Model.LoginProvider account.</h3>
</hgroup>

@using (Html.BeginForm("ExternalLoginConfirmation", "Account", new { ReturnUrl = ViewBag.ReturnUrl })) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Association Form</legend>
       <p class="text-success">
            You've successfully authenticated with <strong>@Model.LoginProvider</strong>.
            Please enter a user name for this site below and click the Register button to finish
            logging in.
        </p>
                @Html.LabelFor(m => m.UserName)
                @Html.TextBoxFor(m => m.UserName)
                @Html.ValidationMessageFor(m => m.UserName)
        <br />
        @Html.HiddenFor(m => m.LoginProvider)
        <input type="submit" class="btn" value="Register" />
    </fieldset>
}

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
